﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>PS</title>
    <style>
        .pdaClassDetails .pdaClassHeader {
            height: 30px;
            line-height: 30px;
            background: #2b7de1;
            color: white;
            padding-left: 15px;
            text-align: center;
            font-size: 18px;
            font-weight: bold;
            position: fixed;
            width: 100%;
            z-index: 1;
            top: 0;
            left: 0;
        }

            .pdaClassDetails .pdaClassHeader .iconfont {
                font-size: 26px;
                position: absolute;
                left: 15px;
            }
    </style>
    <script src="~/Scripts/jquery-3.3.1.js"></script>
</head>



<body>
    <div class="pdaClassHeader">
        <span class="iconfont ali-icon-back"></span>
        <span>个人中心</span>
    </div>
    <input  type="text" id="test" onkeyup="enter(this);"/>

    <script>
        function enter(op) {

            if (event.keyCode != 13) {
                return
            }
            if (event.keyCode == 13 || op.focus) {

                alert(1);
            }
            op.focus = true;
        }
    </script>
</body>
</html>
